package com.godGuang.consultation.remote;

import com.godGuang.common.core.domain.Result;
import com.godGuang.common.core.web.page.TableDataInfo;
import com.godGuang.common.system.domain.SysDictData;
import com.godGuang.consultation.config.FeignClientCustomizerConfig;
import com.godGuang.consultation.remote.impl.ConsultationDictFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.*;

/**
 * @program: godGuang-medical
 * @description:
 * @author: godGuang
 * @create: 2024-01-11 21:44
 **/
@FeignClient(
        value = "godGuang-system",
        fallback = ConsultationDictFallbackFactory.class)
public interface ConsultationDictFeign {

    @RequestMapping(value = "dict/data/list",method = RequestMethod.POST)
    public Result<TableDataInfo<SysDictData>> list (@RequestBody SysDictData dictData);
}
